@extends('admin.layouts.master')
@section('content')
    <table class="mdui-table mdui-table-hoverable">
        <tr>
            <th>微博ID</th>
            <th>用户ID</th>
            <th>微博内容</th>
            <th>发表时间</th>
        </tr>
        @foreach($topics as $topic)
            <tr>
                <td>{{$topic->id}}</td>
                <td>{{$topic->user_id}}</td>
                <td>{{$topic->content}}</td>
                <td>{{$topic->created_at}}</td>
            </tr>
        @endforeach
    </table>
@endsection